앞머리를 마구 삶다. Error: Can't set headers after they are sent to the client In your case, you called res.redirect(), which caused the response to become Finished. Then your code threw an error (res.req is null). and since the error happened within your actual function(req, res, next) (not within... Web앞머리를 마구 삶다.
Error: Can't set headers after they are sent to the client In your case, you called res.redirect(), which caused the response to become Finished. Then your code threw an error (res.req is null). and since the error happened within your actual function(req, res, next) (not within... Web앞머리를 마구 삶다.